#include<stdio.h>

enum SensorType{
    TEMPERATURE,HUMIDITY,PRESSURE
};

union SensorData{
    float temperature;
    int humidity;
    float pressure;
};

int main(){
    enum SensorType sensor_type;
    union SensorData sensor_data;
    scanf("%d",&sensor_type);
    switch(sensor_type){
        case 0:
            scanf("%f",&sensor_data.temperature);
            printf("%.2f",sensor_data.temperature);  
            break;
            case 1:
            scanf("%d",&sensor_data.humidity);
            printf("%d",sensor_data.humidity); 
            break;
        case 2:
            scanf("%f",&sensor_data.pressure);
            printf("%.2f",sensor_data.pressure);
            break;
    }
    return 0;
}